package com.yanqu.road.entity.activity.newyear2023.cross;

import com.yanqu.road.entity.DataObject;

public class CrossFireWorkUserData extends DataObject {

    private int activityId;

    private long userId;

    private long serverId;

    private int tableCount;

    //玩家抢了多少次了，一次活动有次数上限
    private int robCount;

    private long updateTime;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public int getTableCount() {
        return tableCount;
    }

    public void setTableCount(int tableCount) {
        if(tableCount != this.tableCount){
            this.tableCount = tableCount;
            setUpdateOption();
        }
    }

    public int getRobCount() {
        return robCount;
    }

    public void setRobCount(int robCount) {
        if(robCount != this.robCount){
            this.robCount = robCount;
            setUpdateOption();
        }
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
}
